T
CSharpTest.Net
AddOrUpdate<T>(TKey,T) Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Collections Namespace > LurchTable<TKey,TValue> Class > AddOrUpdate Method : AddOrUpdate<T>(TKey,T) Method

key
createOrUpdateValue

Glossary Item Box

Add, update, or fetche a key/value pair from the dictionary via an implementation of the ICreateOrUpdateValue<TKey,TValue> interface.

Syntax

Visual Basic (Declaration) 
Public Overloads Function AddOrUpdate(Of T As ICreateOrUpdateValue(Of TKey,TValue))( _
   ByVal key As TKey, _
   ByRef createOrUpdateValue As T _
) As Boolean
C# 
public bool AddOrUpdate<T>( 
   TKey key,
   ref T createOrUpdateValue
)
where T: ICreateOrUpdateValue<TKey,TValue>

Parameters

key
createOrUpdateValue

Type Parameters

T

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys